﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PBOffice.DAL;
using PBOffice.BLL;

public partial class NewsManageModule_newsDetails : System.Web.UI.Page
{
    News news = new News();
    NewsManager nm = new NewsManager();
    protected void Page_Load(object sender, EventArgs e)
    {
        ////页面首次加载
        //if(!IsPostBack)
        //{
        //    int newsNo =Convert.ToInt32( Request.QueryString["NewsNo"].ToString());
        //    news = nm.ShowNewsInfoByNewsNo(newsNo);
        //    lblNewsNo.Text = news.NewsNo.ToString();     //新闻编号
        //    lblNewsTitle.Text = news.NewsTitle;          //新闻标题
        //    lblNewsType.Text = news.NewsType.NewsTypeId;  //新闻类型
        //    if (news.IsTop == true)                    //是够置顶
        //        lblIsTop.Text = "是";
        //    else
        //        lblIsTop.Text = "否";
        //    if (news.IsRecommend == true)              //是否推荐
        //        lblRecommend.Text = "是";
        //    else
        //        lblRecommend.Text = "否";
        //    lblNewsContent.Text = news.NewsContent;      //新闻内容
            

        //}
    }
}